update gs v4 pattern so that the latest linksys firmware accepts it
authorFelix Fietkau <[email protected]>
Thu, 15 Dec 2005 01:11:36 +0000 (01:11 +0000)
committerFelix Fietkau <[email protected]>
Thu, 15 Dec 2005 01:11:36 +0000 (01:11 +0000)
SVN-Revision: 2677

openwrt/target/linux/image/brcm/Makefile
openwrt/target/utils/src/addpattern.c

index 6420afb580777ca20e08056a31b6d997c12d3f65..0408bb5cc4eb1bc29c868be09f99439ab6dc7e5e 100644 (file)
@@ -54,7 +54,7 @@ $(BIN_DIR)/openwrt-wrt54g-$(FSNAME).bin: $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$
        $(STAGING_DIR)/bin/addpattern -4 -p W54G -v v4.20.6 -i $< -o $@ -g
 
 $(BIN_DIR)/openwrt-wrt54gs_v4-$(FSNAME).bin: $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(FS).trx
-       $(STAGING_DIR)/bin/addpattern -4 -p W54s -v v1.05.0 -i $< -o $@ -g
+       $(STAGING_DIR)/bin/addpattern -4 -p W54s -v v1.05.2 -i $< -o $@ -g
 
 install: $(BIN_DIR)/openwrt-wrt54g-$(FSNAME).bin $(BIN_DIR)/openwrt-wrt54gs_v4-$(FSNAME).bin $(BIN_DIR)/openwrt-wrt54g3g-$(FSNAME).bin
 endif
index 44e6d8d82d06598283d35a2c996036a6ab57c622..ee5e63587cfdd6ac6877df52545fd34a27c3db6e 100644 (file)
@@ -132,7 +132,7 @@ int main(int argc, char **argv)
                                break;
                        case '4':
                                /* V4 firmware sets the flags to 0x1f */
-                               hdr->hw_ver = 1;
+                               hdr->hw_ver = 0;
                                hdr->flags = 0x1f;
                                break;